<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/include/taglibs.jsp" %>
<html>
<head>
    <%@include file="/include/header.html" %>
    <script type="text/javascript" src="${ctx}/appjs/parking/parkingSupplier.js"></script>
    <link rel="stylesheet" href="${ctx}/statics/css/update.css">
    <link rel="stylesheet" href="${ctx}/statics/css/common.css">
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.css">
    <script src="${ctx}/libjs/plugins/bootstrap-table-pagejump/bootstrap-table-pagejump.js"></script>
    <%--<link rel="stylesheet" href="${ctx}/libjs/plugins/laydate/skins/laydate.css">--%>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/laydate/laydate.css">
    <script src="${ctx}/libjs/plugins/laydate/laydate.js"></script>
    <link rel="stylesheet" href="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.css">
    <script src="${ctx}/libjs/plugins/bootStrap-table-fixed-column/bootstrap-table-fixed-columns.js"></script>
    <style>
        .bootstrap-table .fixed-table-container .table thead th .th-inner {
            text-align: center !important;
        }
    </style>
</head>

<script type="text/javascript">
    $('#topLink', window.parent.document).html(function (i, origText) {
        return '<ol class="breadcrumb">' +
            '<li class="breadcrumb-item">' +
            '<a href="">主页</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>运营商</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a>道闸供应商</a>' +
            '</li>' +
            '<li class="breadcrumb-item">' +
            '<a href="javascript:window.history.back()"><i class="fa fa-times"></i> 返回</a>' +
            '</li>' +
            '</ol>';
    });
    var has_add = '';
    var has_edit = '';
    var has_delete = '';

    var OperationsManagement_parkingSupplier_update = false;
</script>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="row">
                    <shiro:hasPermission name="OperationsManagement_parkingSupplier_reload">
                        <input id="supplierName" name="supplierName" type="text" class="form-control shortInput"
                               placeholder="供应商名称">
                        <input id="brandName" name="brandName" type="text"
                               class="form-control shortInput input-distance"
                               placeholder="品牌名称">
                        <select id="status" name="status" class="form-control shortInput input-distance">
                            <option value="" selected>状态</option>
                            <option value="0">正常</option>
                            <option value="1">暂停</option>
                        </select>
                        <button class="btn btn-success input-distance" onclick="parkingSupplier.reLoad()">查询</button>
                    </shiro:hasPermission>
                    <shiro:hasPermission name="OperationsManagement_parkingSupplier_add">
                        <button class="btn btn-success marginLeft-auto" onclick="parkingSupplier.addParkingSupplier()">
                            新增道闸供应商
                        </button>
                    </shiro:hasPermission>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<shiro:hasPermission name="OperationsManagement_parkingSupplier_update">
    <script>
        OperationsManagement_parkingSupplier_update = true;
    </script>
</shiro:hasPermission>
<script type="text/javascript">
    parkingSupplier.init();
</script>
</body>
</html>